MailPoet\Util\License\Features\Subscribers S

Total Complexity 40
Dependencies 4
Dependents 17
Total lines 161
Lines of code 101
Logical lines of code 54
Comment lines 13
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
getSubscribersLimit()
S
59 8 14
hasValidApiKey()
S
67 4 8
getSubscribersCount()
S
63 3 11
check()
S
63 3 10
checkEmailVolumeLimitIsReached()
S
63 3 10
getFreeSubscribersLimit()
S
71 2 5
hasPremiumSupport()
S
78 2 3
hasValidPremiumKey()
S
75 2 4
hasMssPremiumSupport()
S
78 2 3
hasValidMssKey()
S
75 2 4
isSubscribersCountEnoughForCache()
S
71 2 6
hasMssSubscribersLimit()
S
79 1 3
getMssSubscribersLimit()
S
80 1 3
getEmailsSent()
S
80 1 3
getEmailVolumeLimit()
S
80 1 3
hasPremiumSubscribersLimit()
S
79 1 3
getPremiumSubscribersLimit()
S
80 1 3
__construct()
S
74 1 5